//
// Post Card
//

.card {
  height: 100%;
  border-radius: $card-border-radius;

  &.card-shadow {
    border: 0;
    box-shadow: $card-border-shadow;
  }

  .card-img-field {
    position: relative;
    border-top-left-radius: $card-border-radius;
    border-top-right-radius: $card-border-radius;
  }

  .card-body {
    position: relative;
    .card-avatar {
      position: absolute;
      top: -1rem;
      left: 1.25rem;
      width: 32px;
      height: 32px;
      border: 1px solid white;
      border-radius: 50%;
      img {
        width: 100%;
        border-radius: 50%;
      }
    }
  }
}

.card-fade {
  border: 0;
  box-shadow: none;
  background-color: $home-bg;
}

@include create-card-themes;

// for explore page
.card-custom-col {
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 2rem;
  flex: 0 0 20%;
  max-width: 20%;
}